/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package javaapplication1.uno;

/**
 *
 * @author abelitro
 */
interface Foo {
}

class Alpha implements Foo {
}

class Beta extends Alpha {
}

class Delta extends Beta {

    public static void main(String[] args) {
        Beta x = new Beta();
        Alpha a = x;
        Foo f = (Delta)x;
        Beta b = x;
    }
}
